import requests

proxies={
        'http':'http://144.123.68.152:25653',
        'https':'http://144/123.68.152:25653'
        }
#第二种HTTP Basic Auth
proxies={
        'http':'http://user:password@144.123.68.152:25653'}

#第三种SOCKS代理
proxies={
        'http':'socks5://user:pass@host:port',
        'http':'socks5://user:pass@host:port'
        }



#通过代理访问请求天猫首页
r=requests.get('https://www.tmall.com/',proxies=proxies)

print(r.text)